package com.example.heathy_me.homeDetail;

import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.widget.Toast;

import com.example.heathy_me.R;

public class Medicine_List extends AppCompatActivity {
    protected void onCreate(Bundle savedInstanceState) {

        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_medicinelist);
    }

    public String getTitles(){
        String medicineTitle;
        medicineTitle = getIntent().getStringExtra("medicine_title"); // 获取传入的标题
        Toast.makeText(this, medicineTitle, Toast.LENGTH_LONG).show();
        return medicineTitle;
    }
}
